﻿using DevExpress.XtraGrid.Demos.util;
using DXApplicationTangche.service;
using mendian;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DXApplicationTangche.UC.圣同润.Service
{
    public class 圣同润Service
    {
        /// <summary>
        /// 获取商品基础信息
        /// </summary>
        /// <param name="productId"></param>
        /// <returns></returns>
        public static ProductInfo getProductInfo(String productId)
        {
            return
                FunctionHelper.JsonDeserialization<ProductInfo>(
                    RestCall.httpGetMethod(
                       ConnectDTO.接口url + "/shengtongrun/getProductInfo?productId=" + productId
                    )
                );
        }

        /// <summary>
        /// 获取商品图片链接
        /// </summary>
        /// <param name="productId"></param>
        /// <returns></returns>
        public static ChanmamaProductInfoOcrDescDTO getChanmamaProductInfoOcrDesc(String productId)
        {
            return
                FunctionHelper.JsonDeserialization<ChanmamaProductInfoOcrDescDTO>(
                    RestCall.httpGetMethod(
                       ConnectDTO.接口url + "/shengtongrun/getChanmamaProductInfoOcrDesc?productId=" + productId
                    )
                );
        }

        /// <summary>
        /// 获取商品评论列表
        /// </summary>
        /// <param name="productId"></param>
        /// <returns></returns>
        public static List<ChanmamaProductCommentInfoDao> getChanmamaProductCommentInfoAll(String productId)
        {
            return
                FunctionHelper.JsonDeserialization<List<ChanmamaProductCommentInfoDao>>(
                    RestCall.httpGetMethod(
                       ConnectDTO.接口url + "/shengtongrun/getChanmamaProductCommentInfoAll?productId=" + productId
                    )
                );
        }
        /// <summary>
        /// 获取商品分类一览
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        public static ProductIndexDTO getProductIndexAll(String category)
        {
            return
                FunctionHelper.JsonDeserialization<ProductIndexDTO>(
                    RestCall.httpGetMethod(
                       ConnectDTO.接口url + "/shengtongrun/getProductIndexAll?category=" + category
                    )
                );
        }
        /// <summary>
        /// 根据商品id获取商品分类一览
        /// </summary>
        /// <param name="originalProductId"></param>
        /// <param name="category"></param>
        /// <returns></returns>
        public static ProductIndexDTO getProductIndexByOriginalProductId(String originalProductId,String category)
        {
            return
                FunctionHelper.JsonDeserialization<ProductIndexDTO>(
                    RestCall.httpGetMethod(
                       ConnectDTO.接口url + "/shengtongrun/getProductIndexByOriginalProductId?originalProductId=" + originalProductId + "&category=" + category
                    )
                );
        }
        /// <summary>
        /// 相似度低获取商品分类一览
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        public static ProductIndexDTO getUnimilarProductIndexAll(String category)
        {
            return
                FunctionHelper.JsonDeserialization<ProductIndexDTO>(
                    RestCall.httpGetMethod(
                       ConnectDTO.接口url + "/shengtongrun/getUnimilarProductIndexAll?category=" + category
                    )
                );
        }
        /// <summary>
        /// 商品分类下的达人商品信息
        /// </summary>
        /// <param name="category"></param>
        /// <returns></returns>
        public static List<ViewChanmamaDarenProductInfoDao> getChanmamaDarenProductInfoByCategory(String category)
        {
            return
                FunctionHelper.JsonDeserialization<List<ViewChanmamaDarenProductInfoDao>>(
                    RestCall.httpGetMethod(
                       ConnectDTO.接口url + "/shengtongrun/getChanmamaDarenProductInfoByCategory?category=" + category
                    )
                );
        }
        /// <summary>
        /// 取菜单一览
        /// </summary>
        /// <param name="bigCategory"></param>
        /// <returns></returns>
        public static List<ProductMenuDao> getProductMenuByBigCategory(String bigCategory)
        {
            return
                FunctionHelper.JsonDeserialization<List<ProductMenuDao>>(
                    RestCall.httpGetMethod(
                       ConnectDTO.接口url + "/shengtongrun/getProductMenuByBigCategory?bigCategory=" + bigCategory
                    )
                );
        }

    }
    public class ViewChanmamaDarenProductInfoDao
    {
        public String id { get; set; }
        public String productId { get; set; }
        public String productTitle { get; set; }
        public String authorId { get; set; }
        public String nickname { get; set; }
        public String brandCode { get; set; }
        public String brandName { get; set; }
        public String shopId { get; set; }
        public String shopName { get; set; }
        public String amountText { get; set; }
        public String roomCount { get; set; }
        public String price { get; set; }
        public String category { get; set; }
        public ViewChanmamaDarenProductInfoDao()
        {

        }
    }
    public class ProductMenuDao
    {
        public String category { get; set; }
        public String bigCategory { get; set; }
        public String imageurl { get; set; }
        public Image image { get; set; }
        
        public ProductMenuDao(string category, string bigCategory, string imageurl)
        {
            this.category = category;
            this.bigCategory = bigCategory;
            this.imageurl = imageurl;
            try
            {
                this.image = FileService.GetImageByUrl(imageurl);
            }
            catch { }
        }
    }

    public class ProductIndexDTO
    {
        public List<ViewChanmamaProductClassInfoDao> viewChanmamaProductClassInfoDaos { get; set; } = new List<ViewChanmamaProductClassInfoDao>();
        public List<ProductIndexMetaElementDTO> productIndexMetaElementDTOS { get; set; } = new List<ProductIndexMetaElementDTO>();
        public ProductIndexDTO()
        {

        }
    }
    public class ViewChanmamaProductClassInfoDao
    {
        //@Id
        //@Column(name = "商品id")
        public String productId { get; set; }
        //@Column(name = "分词")
        public String participle { get; set; }
        //@Column(name = "类别")
        public String category { get; set; }
        //@Column(name = "col1")
        public String col1 { get; set; }
        //@Column(name = "col2")
        public String col2 { get; set; }
        //@Column(name = "col3")
        public String col3 { get; set; }
        //@Column(name = "col4")
        public String col4 { get; set; }
        //@Column(name = "col5")
        public String col5 { get; set; }
        //@Column(name = "col6")
        public String col6 { get; set; }
        //@Column(name = "col7")
        public String col7 { get; set; }
        //@Column(name = "col8")
        public String col8 { get; set; }
        //@Column(name = "col9")
        public String col9 { get; set; }
        //@Column(name = "col10")
        public String col10 { get; set; }
        //@Column(name = "同步日期")
        public String createDate { get; set; }
        //@Column(name = "同步时间")
        public String createDateTime { get; set; }
        //@Column(name = "昨日销量")
        public String yesterdaySales { get; set; }
        //@Column(name = "昨日浏览")
        public String yesterdayBrowses { get; set; }
        //@Column(name = "店名")
        public String shopNameCn { get; set; }
        //@Column(name = "品牌编码")
        public String brandCode { get; set; }
        //@Column(name = "品牌名")
        public String brandName { get; set; }
        //@Column(name = "url")
        public String url { get; set; }
        //@Column(name = "image_url")
        public String imageUrl { get; set; }
        //@Column(name = "商品一级分类id")
        public String firstCid { get; set; }
        //@Column(name = "商品一级分类")
        public String firstCname { get; set; }
        //@Column(name = "商品二级分类id")
        public String secondCid { get; set; }
        //@Column(name = "商品二级分类")
        public String secondCname { get; set; }
        //@Column(name = "商品三级分类id")
        public String thirdCid { get; set; }
        //@Column(name = "商品三级分类")
        public String thirdCname { get; set; }
        //@Column(name = "商品名")
        public String title { get; set; }
        //@Column(name = "三十日销量")
        public String pvCount { get; set; }
        //@Column(name = "是否有优惠")
        public String ifDiscount { get; set; }
        //@Column(name = "评论总数")
        public String commentQuantity { get; set; }
        //@Column(name = "是否上架")
        public String isOnShelf { get; set; }
        //@Column(name = "抖音总转化率")
        public String douyinConversionRate { get; set; }
        //@Column(name = "月转化率")
        public String monthConversionRate { get; set; }
        //@Column(name = "月直播总场次")
        public String monthLiveRoomCount { get; set; }
        //@Column(name = "市场价")
        public String marketPrice { get; set; }
        //@Column(name = "最高价")
        public String maxPrice { get; set; }
        //@Column(name = "零售价")
        public String salesPrice { get; set; }
        //@Column(name = "最终价")
        public String finalPrice { get; set; }
        //@Column(name = "淘宝优惠券价格")
        public String tbCouponPrice { get; set; }
        //@Column(name = "佣金")
        public String commission { get; set; }
        //@Column(name = "店铺评分")
        public String shopExprScore { get; set; }
        //@Column(name = "总销量")
        public String sales { get; set; }
        //@Column(name = "预估直播销量")
        public String liveRoomNearlyCount { get; set; }
        //@Column(name = "预估总销量")
        public String totalSalesNearlyCount { get; set; }
        //@Column(name = "预估直播销售额")
        public String liveRoomSales { get; set; }
        //@Column(name = "预估总销售额")
        public String totalSales { get; set; }
        //@Column(name = "历史最低价")
        public String lowestPrice { get; set; }
        //@Column(name = "历史最低价时间")
        public String lowestTime { get; set; }
        //@Column(name = "author_id")
        public String authorId { get; set; }
        //@Column(name = "first_aweme_id")
        public String firstAwemeId { get; set; }
        //@Column(name = "product_url")
        public String productUrl { get; set; }
        //@Column(name = "shop_name")
        public String shopName { get; set; }
        //@Column(name = "shop_id")
        public String shopId { get; set; }
        //@Column(name = "nickname")
        public String nickname { get; set; }
        public ViewChanmamaProductClassInfoDao()
        {

        }
    }
    public class ProductIndexMetaElementDTO
    {
        public String fieldName { get; set; }
        public String caption { get; set; }
        public Boolean visible { get; set; }
        public ProductIndexMetaElementDTO()
        {

        }
    }

    public class ProductInfoVO
    {
        public String order_count { get; set; }
        public String day_pv_count { get; set; }
        public String shop_name { get; set; }
        public String brand_code { get; set; }
        public String brand_name { get; set; }
        public String url { get; set; }
        public String image { get; set; }
        public String first_cid { get; set; }
        public String first_cname { get; set; }
        public String second_cid { get; set; }
        public String second_cname { get; set; }
        public String third_cid { get; set; }
        public String third_cname { get; set; }
        public String title { get; set; }
        public String day30_volume_text { get; set; }
        public String have_coupon { get; set; }
        public String comment_count { get; set; }
        public String is_shelf { get; set; }
        public String douyin_conversion_rate { get; set; }
        public String month_conversion_rate { get; set; }
        public String live_nearly_month_count { get; set; }
        public String regular_price { get; set; }
        public String max_price { get; set; }
        public String price { get; set; }
        public String final_price { get; set; }
        public String tb_coupon_price { get; set; }
        public String estimated_commission { get; set; }
        public String shop_expr_score { get; set; }
        public String sales { get; set; }
        public String video_count { get; set; }
        public String nearly_month_live_author_count { get; set; }
        public Image imagePic { get; set; }
        public ProductInfoVO(ProductInfo productInfo)
        {
            this.order_count = productInfo.data.product.order_count.ToString();
            this.day_pv_count = productInfo.data.product.day_pv_count.ToString();
            this.shop_name = productInfo.data.product.shop_name;
            this.brand_code = productInfo.data.product.brand_code;
            this.brand_name = productInfo.data.product.brand_name;
            this.url = productInfo.data.product.url;
            this.image = productInfo.data.product.image;
            this.first_cid = productInfo.data.product.dy_official_category.first_cid.ToString();
            this.first_cname = productInfo.data.product.dy_official_category.first_cname;
            this.second_cid = productInfo.data.product.dy_official_category.second_cid.ToString();
            this.second_cname = productInfo.data.product.dy_official_category.second_cname;
            this.third_cid = productInfo.data.product.dy_official_category.third_cid.ToString();
            this.third_cname = productInfo.data.product.dy_official_category.third_cname;
            this.title = productInfo.data.product.title;
            this.day30_volume_text = productInfo.data.product.day30_volume_text.ToString();
            this.have_coupon = productInfo.data.product.have_coupon.ToString();
            this.comment_count = productInfo.data.product.comment_count.ToString();
            this.is_shelf = productInfo.data.product.is_shelf.ToString();
            this.douyin_conversion_rate = productInfo.data.product.douyin_conversion_rate.ToString();
            this.month_conversion_rate = productInfo.data.product.month_conversion_rate.ToString();
            this.live_nearly_month_count = productInfo.data.product.live_nearly_month_count.ToString();
            this.regular_price = productInfo.data.product.regular_price.ToString();
            this.max_price = productInfo.data.product.max_price.ToString();
            this.price = (productInfo.data.product.price / 100).ToString();
            this.final_price = productInfo.data.product.final_price.ToString();
            this.tb_coupon_price = productInfo.data.product.tb_coupon_price.ToString();
            this.estimated_commission = productInfo.data.product.estimated_commission.ToString();
            this.shop_expr_score = productInfo.data.product.shop_expr_score.ToString();
            this.sales = productInfo.data.product.sales.ToString();
            this.video_count = productInfo.data.product.video_count.ToString();
            this.nearly_month_live_author_count = productInfo.data.product.nearly_month_live_author_count.ToString();
            try
            {
                this.imagePic = FileService.GetImageByUrl(this.image);
            }
            catch { }
        }
    }

    public class PictureVO
    {
        public String desc { get; set; }
        public String imageUrl { get; set; }
        public Image image { get; set; }
        public PictureVO(string desc, string imageUrl)
        {
            this.desc = desc;
            this.imageUrl = imageUrl.Replace("\"", "");
            try
            {
                this.image = FileService.GetImageByUrl(this.imageUrl);
            }
            catch { }
        }
    }

    public class ProductInfo
    {
        public ProductData data { get; set; } = new ProductData();
        public int errCode { get; set; }
        public ProductInfo()
        {

        }
    }

    public class ProductData
    {
        public int is_fav { get; set; }
        public Boolean is_mine { get; set; }
        public int is_skus { get; set; }
        public JxData jxData { get; set; } = new JxData();
        public Product product { get; set; } = new Product();
        public Boolean has_order_count { get; set; }
        public ProductData()
        {

        }
    }
    public class JxData
    {
        public Boolean has_jx_data { get; set; }
        public int activity_cos_ratio_trans { get; set; }
        public int activity_cos_fee_trans { get; set; }
        public String detail_url { get; set; }
        public JxData()
        {

        }
    }
    public class Product
    {
        public int product_serv { get; set; }
        public String sale_incr { get; set; }
        public int price { get; set; }
        public int nearly_month_live_room_count { get; set; }
        public int author_count { get; set; }
        public String title { get; set; }   //  商品名
        public String product_platform { get; set; }
        public int comment_count { get; set; }
        public int regular_price { get; set; }
        public int nearly_month_live_author_count { get; set; }
        public String brand_name { get; set; }  //  品牌
        public String shop_id { get; set; }
        public int market_price { get; set; }
        public String image { get; set; }
        public int tb_volume { get; set; }
        public int day_live_author_count { get; set; }
        public String coupon_web_url { get; set; }
        public int day_prodcut_aweme_count { get; set; }
        public int user_min_limit { get; set; }
        public String day30_volume_text { get; set; }   //  总销量
        public String subtitle { get; set; }
        public int day_user_count { get; set; }
        public long crawl_time { get; set; }
        public String url { get; set; }
        public long update_time { get; set; }
        public int product_desc { get; set; }
        public Double shop_expr_score { get; set; }
        public String coupon_start_time { get; set; }
        public int tb_h5_volume { get; set; }
        public Dy_official_category dy_official_category { get; set; } = new Dy_official_category();
        public int day30_volume_order_count { get; set; }
        public int max_price { get; set; }
        public int day_aweme_count { get; set; }
        public int increment_tb_volume { get; set; }
        public int live_amount { get; set; }
        public int live_user_count { get; set; }
        public int day30_volume { get; set; }
        public int day_aweme_author_count { get; set; }
        public String tb_max_commission_rate { get; set; }
        public int tb_coupon_remain_count { get; set; }
        public int user_count { get; set; }
        public String tb_h5_volume_string { get; set; }
        public String day30_volume_order_count_text { get; set; }
        public String tb_coupon_info { get; set; }
        public String tb_coupon_price { get; set; }
        public String estimated_commission { get; set; }
        public int product_post { get; set; }
        public String product_post_level { get; set; }
        public String promotion_id { get; set; }
        public int video_count { get; set; }    //  带货视频
        public String coupon_end_time { get; set; }
        public int room_count { get; set; }
        public int live_nearly_month_count { get; set; }    //  带货直播
        public String product_desc_level { get; set; }
        public int is_shelf { get; set; }
        public Double douyin_conversion_rate { get; set; }
        public V2_category v2_category { get; set; } = new V2_category();
        public Boolean use_predict_order_count { get; set; }
        public Boolean have_coupon { get; set; }
        public List<String> images { get; set; } = new List<String>();
        public String coupon_amount { get; set; }
        public String shop_name { get; set; }   //  店铺
        public int order_count { get; set; }
        public int month_conversion_rate { get; set; }  //  月转化率
        public String product_serv_level { get; set; }
        public String shop_icon { get; set; }
        public String short_url { get; set; }
        public int h5_price { get; set; }
        public int count { get; set; }
        public String count_incr { get; set; }
        public int increment_douyin_volume { get; set; }
        public int final_price { get; set; }    //  最终价
        public int day_order_count { get; set; }
        public int live_volume { get; set; }
        public int sales { get; set; }
        public String brand_code { get; set; }
        public int pv_count { get; set; }   //  浏览量
        public int day_pv_count { get; set; }
        public Image imagePic { get; set; }
        public Product()
        {

        }
    }
    public class Dy_official_category
    {
        public String third_cname { get; set; }
        public int first_cid { get; set; }
        public String first_cname { get; set; }
        public int second_cid { get; set; }
        public String second_cname { get; set; }
        public int third_cid { get; set; }
        public Dy_official_category()
        {

        }
    }
    public class V2_category
    {
        public String big { get; set; }
        public String first { get; set; }
        public String second { get; set; }
        public String third { get; set; }
        public V2_category()
        {

        }
    }

    public class ChanmamaProductInfoOcrDescDTO
    {
        public List<String> buttomImages { get; set; } = new List<String>();
        public String location { get; set; }
        public String score { get; set; }
        public String headImageOcr { get; set; }
        public String buttomImageOcr { get; set; }
        public ChanmamaProductInfoOcrDescDTO()
        {

        }
    }
    public class ChanmamaProductCommentInfoDao
    {
        // @Column(name = "商品id")
        public String productId { get; set; }
        // @Column(name = "同步日期")
        public String createDate { get; set; }
        // @Column(name = "id")
        public String id { get; set; }
        // @Column(name = "视频封面")
        public String videoCover { get; set; }
        public Image videoCoverImage { get; set; }
        // @Column(name = "视频id")
        public String videoId { get; set; }
        // @Column(name = "标题")
        public String title { get; set; }
        // @Column(name = "视频链接")
        public String videoLink { get; set; }
        // @Column(name = "视频是否删除")
        public String videoIsDelete { get; set; }
        // @Column(name = "评论头像")
        public String commentHeadPortrait { get; set; }
        // @Column(name = "评论用户id")
        public String commentUserId { get; set; }
        // @Column(name = "视频创建时间戳")
        public String videoCreateTimestamp { get; set; }
        // @Column(name = "用户生日")
        public String userBirthday { get; set; }
        // @Column(name = "用户id")
        public String userId { get; set; }
        // @Column(name = "评论创建时间戳")
        public String commentCreateTimestamp { get; set; }
        // @Id
        // @Column(name = "评论id")
        public String commentId { get; set; }
        // @Column(name = "评论总数")
        public String commentTotalQuantity { get; set; }
        // @Column(name = "是否商业评论")
        public String isBusinessComment { get; set; }
        // @Column(name = "采集时间")
        public String acquisitionTime { get; set; }
        // @Column(name = "点赞数")
        public String likesQuantity { get; set; }
        // @Column(name = "性别")
        public String gender { get; set; }
        // @Column(name = "用户网名")
        public String userNetName { get; set; }
        // @Column(name = "评论详情")
        public String commentDetails { get; set; }

        public ChanmamaProductCommentInfoDao(string productId, string createDate, string id, string videoCover, string videoId, string title, string videoLink, string videoIsDelete, string commentHeadPortrait, string commentUserId, string videoCreateTimestamp, string userBirthday, string userId, string commentCreateTimestamp, string commentId, string commentTotalQuantity, string isBusinessComment, string acquisitionTime, string likesQuantity, string gender, string userNetName, string commentDetails)
        {
            this.productId = productId;
            this.createDate = createDate;
            this.id = id;
            this.videoCover = videoCover;
            try
            {
                this.videoCoverImage = FileService.GetImageByUrl(videoCover);
            }
            catch { }
            this.videoCoverImage = videoCoverImage;
            this.videoId = videoId;
            this.title = title;
            this.videoLink = videoLink;
            this.videoIsDelete = videoIsDelete;
            this.commentHeadPortrait = commentHeadPortrait;
            this.commentUserId = commentUserId;
            this.videoCreateTimestamp = videoCreateTimestamp;
            this.userBirthday = userBirthday;
            this.userId = userId;
            this.commentCreateTimestamp = commentCreateTimestamp;
            this.commentId = commentId;
            this.commentTotalQuantity = commentTotalQuantity;
            this.isBusinessComment = isBusinessComment;
            this.acquisitionTime = acquisitionTime;
            this.likesQuantity = likesQuantity;
            this.gender = gender;
            this.userNetName = userNetName;
            this.commentDetails = commentDetails;
        }
    }
    public class ChanmamaDarenProductDao
    {
        // @Column(name = "商品id")
        public String productId { get; set; }
        // @Column(name = "同步日期")
        public String createDate { get; set; }
        // @Column(name = "同步时间")
        public String createDateTime { get; set; }
        // @Column(name = "昨日销量")
        public String yesterdaySales { get; set; }
        // @Column(name = "昨日浏览")
        public String yesterdayBrowses { get; set; }
        // @Column(name = "店名")
        public String shopNameCn { get; set; }
        // @Column(name = "品牌编码")
        public String brandCode { get; set; }
        // @Column(name = "品牌名")
        public String brandName { get; set; }
        // @Column(name = "url")
        public String url { get; set; }
        // @Column(name = "image_url")
        public String imageUrl { get; set; }
        // @Column(name = "商品一级分类id")
        public String firstCid { get; set; }
        // @Column(name = "商品一级分类")
        public String firstCname { get; set; }
        // @Column(name = "商品二级分类id")
        public String secondCid { get; set; }
        // @Column(name = "商品二级分类")
        public String secondCname { get; set; }
        // @Column(name = "商品三级分类id")
        public String thirdCid { get; set; }
        // @Column(name = "商品三级分类")
        public String thirdCname { get; set; }
        // @Column(name = "商品名")
        public String title { get; set; }
        // @Column(name = "三十日销量")
        public String pvCount { get; set; }
        // @Column(name = "是否有优惠")
        public String ifDiscount { get; set; }
        // @Column(name = "评论总数")
        public String commentQuantity { get; set; }
        // @Column(name = "是否上架")
        public String isOnShelf { get; set; }
        // @Column(name = "抖音总转化率")
        public String douyinConversionRate { get; set; }
        // @Column(name = "月转化率")
        public String monthConversionRate { get; set; }
        // @Column(name = "月直播总场次")
        public String monthLiveRoomCount { get; set; }
        // @Column(name = "市场价")
        public String marketPrice { get; set; }
        // @Column(name = "最高价")
        public String maxPrice { get; set; }
        // @Column(name = "零售价")
        public String salesPrice { get; set; }
        // @Column(name = "最终价")
        public String finalPrice { get; set; }
        // @Column(name = "淘宝优惠券价格")
        public String tbCouponPrice { get; set; }
        // @Column(name = "佣金")
        public String commission { get; set; }
        // @Column(name = "店铺评分")
        public String shopExprScore { get; set; }
        // @Column(name = "总销量")
        public String sales { get; set; }
        // @Column(name = "预估直播销量")
        public String liveRoomNearlyCount { get; set; }
        // @Column(name = "预估总销量")
        public String totalSalesNearlyCount { get; set; }
        // @Column(name = "预估直播销售额")
        public String liveRoomSales { get; set; }
        // @Column(name = "预估总销售额")
        public String totalSales { get; set; }
        // @Column(name = "历史最低价")
        public String lowestPrice { get; set; }
        // @Column(name = "历史最低价时间")
        public String lowestTime { get; set; }
        // @Column(name = "author_id")
        public String authorId { get; set; }
        // @Column(name = "first_aweme_id")
        public String firstAwemeId { get; set; }
        // @Column(name = "product_url")
        public String productUrl { get; set; }
        // @Column(name = "shop_name")
        public String shopName { get; set; }
        // @Column(name = "shop_id")
        public String shopId { get; set; }
        // @Column(name = "nickname")
        public String nickname { get; set; }
        public ChanmamaDarenProductDao()
        {

        }
    }
}
